package com.itheima.edu.info.manager.domain;

/*
    教师类
 */
public class Teacher {
    private String ID;
    private String name;
    private String age;
    private String birthday;
    private String salary;
    private String rank;//职级

    public Teacher() {
    }

    public Teacher(String ID, String name, String age, String birthday, String salary, String rank) {
        this.ID = ID;
        this.name = name;
        this.age = age;
        this.birthday = birthday;
        this.salary = salary;
        this.rank = rank;
    }

    public String getID() {
        return ID;
    }

    public void setID(String ID) {
        this.ID = ID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }

    public String getRank() {
        return rank;
    }

    public void setRank(String rank) {
        this.rank = rank;
    }

    @Override
    public String toString() {
        return ID + "," + name + "," + age + "," + birthday + "," + salary + "," + rank;
    }
}
